<template>
	<view style="overflow-x: hidden;">
		<view class="nav-back">
			<top-heigth back-title="合作加盟"></top-heigth>
		</view>	
		
		<view class="m-t24" v-if="list">
			<rich-text :nodes="list.configValue"></rich-text>
		</view>
	</view>
</template>

<script>
	import TopHeigth from '@/components/TopHeigth.vue'
	
	export default {
		data() {
			return {
				backTitle:"合作加盟",
				userInfo: uni.getStorageSync('userInfo'),
				list: null,
			}
		},
		components: { TopHeigth },
		onLoad() {
			this.getList()
		},
		methods: {
			getList(){
				uni.$u.http.post('/api/shop/v1_0/tAppConfigRCA/turnTAppConfigInfo',{
					configCode:"partner"
				}).then((res) => {
					this.list = res.data
				}) 
			},
		}
	}
</script>

<style lang="scss" scoped>
	@mixin flex($direction: row) {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: $direction;
	}
	.uv-nav-slot {
		@include flex;
		align-items: center;
		justify-content: space-between;
		border-width: 0.5px;
		border-radius: 100px;
		border-color: #dadbde;
		padding: 3px 7px;
		opacity: 0.8;
	}
</style>
